public class GenerateData {

	public static void main(String[] args) {
		ProblemCaseAdministrator pca = new ProblemCaseAdministrator();
		String filename = null;
		String day = null;
		int numberOfFiles = 0;

		if (args.length != 0) {
			filename = "TestData_" + args[0] + args[1] + "";
			day = args[2];
			String path = args[3];
			numberOfFiles = Integer.parseInt(args[3]);
			int i = 0;
			while (i < numberOfFiles) {
				pca.generateTestData();
				pca.exportDateToDisk(path, filename + day + ".txt");
				int d = Integer.valueOf(day);
				d++;
				day = String.valueOf(d);
				i++;
			}
		} else {
			// pca.generateTestData();
			// pca.exportDateToDisk("TestData.txt");
		}

	}

}
